<!--
 * @FilePath     : /layui/demo/1559.html
 * @Description  : 带分页的分组
 * @Date         : 2025-02-24 14:29
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-02-24 14:29
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="" />
  </head>
  <body>
    <div id="demo1" class="xm-select-demo"></div>

    <script src="/xm-select/dist/xm-select.js"></script>
    <script>
      var demo1 = xmSelect.render({
        el: '.xm-select-demo',
        data: [
          {
            name: '销售员',
            children: [
              { name: '张三1', value: 1 },
              { name: '李四1', value: 2 },
              { name: '王五13', value: 3 },
            ],
          },
          {
            name: '奖品',
            children: [
              { name: '苹果23', value: 4 },
              { name: '香蕉2', value: 5 },
              { name: '葡萄2', value: 6 },
            ],
          },
        ],

        //
        toolbar: {
          show: true,
        },
        filterable: true,
        height: '500px',
        paging: true,
        pageSize: 2,
      })
    </script>
  </body>
</html>
